package com.combetter.changxing.fragment;

import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import com.combetter.changxing.R;
import com.combetter.changxing.base.BaseFragment;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * @author Vany Liu
 * e-mail liu1281781414@outlook.com
 * Created ${date} ${time}
 * description :记录Fragment
 **/
public class RecordFragment extends BaseFragment {
    @Bind(R.id.tv_title_name)
    TextView tvTitleName;
    @Bind(R.id.iv_back)
    ImageView ivBack;
    @Bind(R.id.iv_right)
    ImageView ivRight;
    @Bind(R.id.iv_right_add)
    ImageView ivRightAdd;
    @Bind(R.id.actionbar)
    Toolbar actionbar;

    @Override
    protected int layoutId() {
        return R.layout.fragment_record;
    }

    @Override
    protected void initViews(View view) {
        tvTitleName.setText("记录");
        ivBack.setVisibility(View.GONE);
        ivRight.setVisibility(View.GONE);

    }


    @Override
    protected void loadData() {

    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        // TODO: inflate a fragment view
        View rootView = super.onCreateView(inflater, container, savedInstanceState);
        ButterKnife.bind(this, rootView);
        return rootView;
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        ButterKnife.unbind(this);
    }
}
